package com.extension.company.view.adapter;

import android.content.Context;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.extension.company.admin.R;
import com.extension.company.model.entity.OrderListData;

import java.util.List;

public class OrderWaitPaymentListAdapter extends BaseRecyclerAdapter<OrderListData, OrderWaitPaymentListAdapter.Hoder> {

    public OrderWaitPaymentListAdapter(Context context, List<OrderListData> list) {
        super(context, list);
    }

    @Override
    public Hoder onCreateViewHolder(ViewGroup parent, int viewType) {
        View view = LayoutInflater.from(mContext).inflate(R.layout.orderwaitpaymentlist_item, parent,false);
        Hoder hoder = new Hoder(view);
        return hoder;
    }

    @Override
    public void onBindViewHolder(RecyclerView.ViewHolder viewHolder, int position) {
        super.onBindViewHolder(viewHolder, position);
    }

    class Hoder extends RecyclerView.ViewHolder {

        public Hoder(@NonNull View itemView) {
            super(itemView);
        }
    }
}
